<?php
    use yii\helpers\Url;
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="language" content="en" />
        <meta name="description" content="">
        <meta name="author" content="">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="icon" href="favicon.ico">

        <title>李清炳</title>
        <link type="text/css" rel="stylesheet" href="../../vendor/KAdminD/styles/bootstrap.min.css">
        <link type="text/css" rel="stylesheet" href="../../vendor/KAdminD/styles/font-awesome.min.css">
        <link type="text/css" rel="stylesheet" href="../../vendor/adminLTE/css/AdminLTE.min.css">
        <link type="text/css" rel="stylesheet" href="../../vendor/adminLTE/css/skins/_all-skins.min.css">


        <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
        <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
        <script src="../../vendor/libs/default/ie-emulation-modes-warning.js"></script>


        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
          <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
          <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        <link href="../web/css/site.css" rel="stylesheet">
    </head>

    <body class="hold-transition skin-blue sidebar-mini">
        <div class="wrapper">
            <header class="main-header">
                <a href="index.php" class="logo">
                  <!-- mini logo for sidebar mini 50x50 pixels -->
                  <span class="logo-mini"><b>哲</b>米</span>
                  <!-- logo for regular state and mobile devices -->
                  <span class="logo-lg"><b>哲米</b>的博客</span>
                </a>

                <nav id="topbar" class="navbar navbar-default" style="background:#458B74">
                    <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>

                    <ul class="nav navbar-nav navbar-left">
                        <li class="siderbar-tab"><a id="siderbar-content" href="#"><i class="fa fa-database"></i>&nbsp;内容管理</a></li>
                        <li class="siderbar-tab"><a id="siderbar-piceofword" href="#"><i class="fa fa-comment"></i>&nbsp;碎言随语</a></li>
                        <li class="siderbar-tab"><a id="siderbar-recycle" href="#"><i class="fa fa-recycle"></i>&nbsp;回收管理</a></li>
                        <li class="siderbar-tab"><a id="siderbar-user" href="#"><i class="fa fa-users"></i>&nbsp;用户管理</a></li>
                        <li class="siderbar-tab"><a id="siderbar-site" href="#"><i class="fa fa-gears"></i>&nbsp;网站管理</a></li>
                    </ul>

                    <ul class="nav navbar-nav navbar-right" style="padding-right:20px">
                        <li>
                            <a href="/helloqingbing/frontend/web/index.php">返回前台</a>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <span class="hidden-xs"><i class="fa fa-user"></i>&nbsp;哲米&nbsp;</span>
                                <span class="caret"></span>
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="index.php?r=site/logout"><i class="fa fa-key"></i>退出</a></li>
                            </ul>
                        </li>
                        <!-- Control Sidebar Toggle Button -->
                        <li>
                            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
                        </li>
                    </ul>
                </nav>
            </header>

            <!-- left sider bar for navigation -->
            <aside class="main-sidebar">
               <!-- sidebar: style can be found in sidebar.less -->
               <section class="sidebar">
                   <ul class="sidebar-menu" id="siderbar-content">
                        <li class="treeheader header"><h4 style="color:white"><i class="fa fa-database"></i>&nbsp;内容管理</h4></li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-list-alt"></i> <span>文章管理</span>
                                <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                            </a>
                            <ul class="treeview-menu menu-open" style="display:block">
                                <li><a href="index.php?r=content/addmail"><i class="fa fa-plus"></i> 添加文章</a></li>
                                <li><a href="index.php?r=content/index"><i class="fa fa-list-ol"></i> 文章列表</a></li>
                             </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa  fa-tags"></i> <span>标签管理</span>
                                <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                            </a>
                            <ul class="treeview-menu menu-open" style="display:block">
                                <li><a href="../index.html"><i class="fa fa-plus"></i> 添加标签</a></li>
                                <li><a href="../index2.html"><i class="fa fa-list-ol"></i> 标签列表</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-columns"></i> <span>分类管理</span>
                                <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                            </a>
                            <ul class="treeview-menu menu-open" style="display:block">
                                <li><a href="../index.html"><i class="fa fa-plus"></i> 添加分类</a></li>
                                <li><a href="../index2.html"><i class="fa fa-list-ol"></i> 分类列表</a></li>
                            </ul>
                        </li>
                    </ul>

                    <ul class="sidebar-menu" id="siderbar-piceofword" style="display:none">
                        <li class="treeheader header"><h4 style="color:white"><i class="fa fa-comment"></i>&nbsp;碎言随语</h4></li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-list-alt"></i> <span>评论管理</span>
                                <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                            </a>
                            <ul class="treeview-menu menu-open" style="display:block">
                                <li><a href="../index2.html"><i class="fa fa-list-ol"></i> 评论列表</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa  fa-tags"></i> <span>随言碎语</span>
                                <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                            </a>
                            <ul class="treeview-menu menu-open" style="display:block">
                                <li><a href="../index.html"><i class="fa fa-plus"></i> 添加碎言</a></li>
                                <li><a href="../index2.html"><i class="fa fa-list-ol"></i> 碎言列表</a></li>
                            </ul>
                        </li>
                     </ul>

                     <ul class="sidebar-menu" id="siderbar-recycle" style="display:none">
                          <li class="treeheader header"><h4 style="color:white"><i class="fa fa-recycle"></i>&nbsp;回收管理</h4></li>
                          <li class="treeview">
                            <a href="#">
                              <i class="fa fa-list-alt"></i> <span>回收列表</span>
                              <span class="pull-right-container">
                                <i class="fa fa-angle-left pull-right"></i>
                              </span>
                            </a>
                            <ul class="treeview-menu menu-open" style="display:block">
                              <li><a href="../index2.html"><i class="fa fa-list-ol"></i> 已删文章</a></li>
                              <li><a href="../index.html"><i class="fa fa-plus"></i> 已删评论</a></li>
                              <li><a href="../index2.html"><i class="fa fa-list-ol"></i> 已删友链</a></li>
                            </ul>
                          </li>
                      </ul>

                      <ul class="sidebar-menu" id="siderbar-user" style="display:none">
                           <li class="treeheader header"><h4 style="color:white"><i class="fa fa-users"></i>&nbsp;用户管理</h4></li>
                           <li class="treeview">
                             <a href="#">
                               <i class="fa fa-list-alt"></i> <span>用户列表</span>
                               <span class="pull-right-container">
                                 <i class="fa fa-angle-left pull-right"></i>
                               </span>
                             </a>
                             <ul class="treeview-menu menu-open" style="display:block">
                               <li><a href="../index2.html"><i class="fa fa-user"></i> 第三方用户</a></li>
                             </ul>
                           </li>
                       </ul>

                       <ul class="sidebar-menu" id="siderbar-site" style="display:none">
                            <li class="treeheader header"><h4 style="color:white"><i class="fa fa-gears"></i>&nbsp;网站管理</h4></li>
                            <li class="treeview">
                              <a href="#">
                                <i class="fa fa-cog"></i> <span>基本设置</span>
                                <span class="pull-right-container">
                                  <i class="fa fa-angle-left pull-right"></i>
                                </span>
                              </a>
                              <ul class="treeview-menu menu-open" style="display:block">
                                <li><a href="../index2.html"><i class="fa fa-user"></i> 网站信息</a></li>
                                <li><a href="../index2.html"><i class="fa fa-user"></i> 修改密码</a></li>
                              </ul>
                            </li>

                            <li class="treeview">
                              <a href="#">
                                <i class="fa fa-link"></i> <span>友情链接</span>
                                <span class="pull-right-container">
                                  <i class="fa fa-angle-left pull-right"></i>
                                </span>
                              </a>
                              <ul class="treeview-menu menu-open" style="display:block">
                                <li><a href="../index2.html"><i class="fa fa-user"></i> 添加链接</a></li>
                                <li><a href="../index2.html"><i class="fa fa-user"></i> 链接列表</a></li>
                              </ul>
                            </li>
                        </ul>
                </section>
            <!-- /.sidebar -->
          </aside>

          <?=$content?>

          <!-- <footer class="main-footer">
              <div class="pull-right hidden-xs">
                  <b>Version</b> 2.3.8
              </div>
              <strong>Copyright &copy; 2014-<?=date('Y')?></strong>
          </footer> -->

          <aside class="control-sidebar control-sidebar-dark">
              <!-- Create the tabs -->
              <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
                  <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
                  <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
              </ul>
              <div class="tab-content">
                <!-- Home tab content -->
                <div class="tab-pane active" id="control-sidebar-home-tab">
                  <h3 class="control-sidebar-heading">Recent Activity</h3>
                  <ul class="control-sidebar-menu">
                    <li>
                      <a href="javascript:void(0)">
                        <i class="menu-icon fa fa-birthday-cake bg-red"></i>

                        <div class="menu-info">
                          <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>

                          <p>Will be 23 on April 24th</p>
                        </div>
                      </a>
                    </li>
                  </ul>
                  <h3 class="control-sidebar-heading">Tasks Progress</h3>
                  <ul class="control-sidebar-menu">
                     <li>
                       <a href="javascript:void(0)">
                         <h4 class="control-sidebar-subheading">
                           Custom Template Design
                           <span class="label label-danger pull-right">70%</span>
                         </h4>

                         <div class="progress progress-xxs">
                           <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
                         </div>
                       </a>
                     </li>
                   </ul>
              </div>

              <div class="tab-pane" id="control-sidebar-settings-tab">
                <form method="post">
                    <h3 class="control-sidebar-heading">General Settings</h3>

                    <div class="form-group">
                      <label class="control-sidebar-subheading">
                        Report panel usage
                        <input type="checkbox" class="pull-right" checked>
                      </label>

                      <p>
                        Some information about this general settings option
                      </p>
                    </div>
                    <!-- /.form-group -->

                    <div class="form-group">
                      <label class="control-sidebar-subheading">
                        Allow mail redirect
                        <input type="checkbox" class="pull-right" checked>
                      </label>

                      <p>
                        Other sets of options are available
                      </p>
                    </div>
                    <h3 class="control-sidebar-heading">Chat Settings</h3>
                    <div class="form-group">
                      <label class="control-sidebar-subheading">
                        Show me as online
                        <input type="checkbox" class="pull-right" checked>
                      </label>
                    </div>
                    <!-- /.form-group -->

                    <div class="form-group">
                      <label class="control-sidebar-subheading">
                        Turn off notifications
                        <input type="checkbox" class="pull-right">
                      </label>
                    </div>
                  </form>
              </div>
            </div>
          </aside>

        <!-- /.control-sidebar -->
        <!-- Add the sidebar's background. This div must be placed
           immediately after the control sidebar -->
        <div class="control-sidebar-bg"></div>
        <script src="../../vendor/KAdminD/script/jquery-1.10.2.min.js"></script>
        <script src="../../vendor/adminLTE/plugins/slimScroll/jquery.slimscroll.min.js"></script>
        <script src="../../vendor/KAdminD/script/bootstrap.min.js"></script>
        <!-- FastClick -->
        <script src="../../vendor/adminLTE/plugins/fastclick/fastclick.js"></script>
        <!-- AdminLTE App -->
        <script src="../../vendor/adminLTE/js/app.min.js"></script>
        <script src="../../vendor/KAdminD/script/pace.min.js"></script>
        <script src="js/main.js"></script>
    </body>
</html>
